path_mirror

Flips the given path along the vertical axis with respect to its center.

语法:

path_mirror(index);


参数 描述
index The index of the path to mirror.


返回: N/A(无返回值)


描述

This function takes all the path points and mirrors them along the vertical axis. This function changes the actual path resource, and so will permanently affect how the path is used by all instances in the game from the moment the function is used until the end of the game.




例如:

path_mirror(mypath);

This would mirror "mypath" along the vertical axis.


上一页: Changing Paths
下一页: path_reverse
© Copyright YoYo Games Ltd. 2018 All Rights Reserved